@model mtm.Tourism.Models.EditorCategoryModel
@{ 
    /* Copyright ? 2009 - 2010 Oleg Stuhin & Rostislav Haitovich
       To learn more about mytrip.mvc visit
       http://mytripmvc.net  http://mytripmvc.codeplex.com
       mytripmvc@gmail.com
       license: Microsoft Public License (Ms-PL) */
}
@{
    ViewBag.Title = Html.MytripPageTitle(Model.TitlePage);
    ViewBag.Keywords = mtm.Tourism.ModuleSetting.ToursKeyWords();
    ViewBag.Description = mtm.Tourism.ModuleSetting.ToursDesc();
}
@section scriptlink{
@Html.ScriptLink("jquery.validate.min.js,jquery.validate.unobtrusive.min.js,mtm.jHtmlArea.js,mtm.jHtmlArea.Smiles.js,Page/Tour.EditorCategory.js")
}
@section content{
@Html.BreadCumps(">", Model.bread)
<h1 class="title">@Model.TitlePage</h1>
<div id="errorsumm"></div>
<div class="last"></div>
<fieldset>

@using (Html.BeginForm())
{
    <div class="right" id="seo">SEO</div>
    <div id="seoModal" class="window"> 
<div class="modalTC">SEO</div>
<div class="modalC">
<div class="editor-label">
            @Html.LabelFor(model => model.seoTitle, "Title")
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.seoTitle)
            @Html.ValidationMessageFor(model => model.seoTitle)
        </div>
<div class="editor-label">
            @Html.LabelFor(model => model.path, "Path")
        </div>
        <div class="editor-field">
            @Html.TextBoxFor(model => model.path)
            @Html.ValidationMessageFor(model => model.path)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.seokeywords, "Keywords")
        </div>
        <div class="editor-field">
            @Html.TextAreaFor(model => model.seokeywords, new { @class = "message", style = "height: 50px; width:400px;" })
            @Html.ValidationMessageFor(model => model.seokeywords)
        </div>
        <div class="editor-label">
            @Html.LabelFor(model => model.seodescription, "Description")
        </div>
        <div class="editor-field">
            @Html.TextAreaFor(model => model.seodescription, new { @class = "message", style = "height: 50px; width:400px;" })
            @Html.ValidationMessageFor(model => model.seodescription)
        </div>
</div> 
</div>
    @Html.HiddenFor(m=>m.id)
    @Html.HiddenFor(m=>m.id2)
<div class="editor-label">
@Html.LabelFor(m => m.title, ToursLanguage.title)
</div><div class="editor-field">
@Html.TextBoxFor(m => m.title)
@Html.ValidationMessageFor(m => m.title) 
</div>
<div class="editor-label">
@Html.LabelFor(m => m.body, ToursLanguage.body)
</div>
<div class="editor-field"><div class="dark">
@Html.TextAreaFor(m => m.body, new { id = "article", style = "height: 200px; width:100%;" })
@Html.ValidationMessageFor(m => m.body) 
</div></div>
<div class="editor-label">
@Html.CheckBoxFor(m => m.allculture)
@Html.LabelFor(m => m.allculture, ToursLanguage.allculture)
</div>
<div class="button">
@Html.MytripButton(Model.submit, true, "left")
</div>
}
</fieldset>  
}